package com.izhar.answeringmachine.Entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class SubmitCode implements Serializable {

    private String id;

    private String userId;

    private String questionId;

    private String code;

    private Integer language;

    private Integer pass;

    private Date createTime;

    private Date updateTime;

    private String reason;

    @Override
    public String toString() {
        return "SubmitCode{" +
                "id='" + id + '\'' +
                ", userId='" + userId + '\'' +
                ", questionId='" + questionId + '\'' +
                ", code='" + code + '\'' +
                ", language=" + language +
                ", pass=" + pass +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", reason='" + reason + '\'' +
                '}';
    }
}
